package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.SwimmingPool;

import java.util.List;

/**
 * 泳池Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface SwimmingPoolMapper extends BaseMapper<SwimmingPool>
{
    /**
     * 查询泳池
     * 
     * @param id 泳池ID
     * @return 泳池
     */
    public SwimmingPool selectSwimmingPoolById(Long id);

    /**
     * 查询泳池列表
     * 
     * @param swimmingPool 泳池
     * @return 泳池集合
     */
    public List<SwimmingPool> selectSwimmingPoolList(SwimmingPool swimmingPool);

}
